package cn.sightsnow.zh.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Api(tags = "Web客户端路径转发")
@Controller
@Slf4j
public class WebController {
    @RequestMapping(value = {
            "/",
            "/home/**",
            "/view/**",
            "/map/**",
            "/image/**",
            "easydl/**"
    })
    public String forwardAngularPaths() {
        log.info("Angular 路径转发");
        return "forward:/index.html";
    }
}
